/**
 * Created by jinhongglin on 15-11-26.
 */
app.controller('restaurant_controller',function($scope,$location) {
    $scope.restaurant_to_help_order = function (restaurant_name) {
        localStorage.setItem("restaurant_name",restaurant_name)
        localStorage.removeItem("meal_name")
        $location.path("/help_order_meal");
    }
    $scope.restaurants= ["KFC","7-11","成都小吃"]
})